package org.kalai.unifypay.chanpay;

import com.alibaba.fastjson.JSON;

public class ChangJMessage {
	/** 报文交易代码 标识此请求为“单笔垫资付款业务” */
	private String trxCode;
	/** 商户代码 标识商户的唯一ID，15位 */
	private String mertid;
	/** 交易请求号 数据格式：(15位)商户号 + (12位)yyMMddHHmmss时间戳 + (5位)循环递增序号 = (32位)唯一交易号； */
	private String reqSn;
	/** 受理时间 代支付系统接收到交易请求时服务器时间； 对于交易的发起时间以此时间为准 */
	private String timestamp;
	/** 业务代码, 接入生产前，业务人员会提供 */
	private String businessCode;
	/** 产品编码, 接入生产前，业务人员会提供 */
	private String productCode;
	/** 企业账号 */
	private String corpAccNo;
	/** 对公对私 */
	private String accountProp;
	/** 二级商户号 */
	private String subMertid;
	/** 银行通用名称 */
	private String bankGeneralName;
	/** 账号类型 */
	private String accountType;
	/** 账号 */
	private String accountNo;
	/** 账户名称 */
	private String accountName;
	/** 开户行所在省 */
	private String province;
	/** 开户行所在市 */
	private String city;
	/** 开户行名称 如：中国建设银行广州东山广场分理处 */
	private String bankName;
	/** 开户行号， 对方账号对应的开户行支行行号 */
	private String bankCode;
	/** 清算行号 */
	private String drctBankCode;
	/** 协议号 */
	private String protocolNo;
	/** 货币类型, 人民币 */
	private String currency;
	/** 金额 */
	private long amount;
	/** 开户证件类型 */
	private String idType;
	/** 证件号 */
	private String id;
	/** 手机号 */
	private String tel;
	/** 外部企业流水号 */
	private String corpFlowNo;
	/** 备注 */
	private String summary;
	/** 用途 */
	private String postscript;
	/** CJ返回代码 */
	private String retCode;
	/** 错误信息 */
	private String errMsg;
	
	public String getTrxCode() {
		return trxCode;
	}
	public void setTrxCode(String trxCode) {
		this.trxCode = trxCode;
	}
	public String getMertid() {
		return mertid;
	}
	public void setMertid(String mertid) {
		this.mertid = mertid;
	}
	public String getReqSn() {
		return reqSn;
	}
	public void setReqSn(String reqSn) {
		this.reqSn = reqSn;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public String getBusinessCode() {
		return businessCode;
	}
	public void setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
	}
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
	public String getCorpAccNo() {
		return corpAccNo;
	}
	public void setCorpAccNo(String corpAccNo) {
		this.corpAccNo = corpAccNo;
	}
	public String getAccountProp() {
		return accountProp;
	}
	public void setAccountProp(String accountProp) {
		this.accountProp = accountProp;
	}
	public String getSubMertid() {
		return subMertid;
	}
	public void setSubMertid(String subMertid) {
		this.subMertid = subMertid;
	}
	public String getBankGeneralName() {
		return bankGeneralName;
	}
	public void setBankGeneralName(String bankGeneralName) {
		this.bankGeneralName = bankGeneralName;
	}
	public String getAccountType() {
		return accountType;
	}
	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}
	public String getAccountNo() {
		return accountNo;
	}
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	public String getAccountName() {
		return accountName;
	}
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public String getBankCode() {
		return bankCode;
	}
	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}
	public String getDrctBankCode() {
		return drctBankCode;
	}
	public void setDrctBankCode(String drctBankCode) {
		this.drctBankCode = drctBankCode;
	}
	public String getProtocolNo() {
		return protocolNo;
	}
	public void setProtocolNo(String protocolNo) {
		this.protocolNo = protocolNo;
	}
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public long getAmount() {
		return amount;
	}
	public void setAmount(long amount) {
		this.amount = amount;
	}
	public String getIdType() {
		return idType;
	}
	public void setIdType(String idType) {
		this.idType = idType;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getCorpFlowNo() {
		return corpFlowNo;
	}
	public void setCorpFlowNo(String corpFlowNo) {
		this.corpFlowNo = corpFlowNo;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getPostscript() {
		return postscript;
	}
	public void setPostscript(String postscript) {
		this.postscript = postscript;
	}
	public String getRetCode() {
		return retCode;
	}
	public void setRetCode(String retCode) {
		this.retCode = retCode;
	}
	public String getErrMsg() {
		return errMsg;
	}
	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}
	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
	
}
